﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace pifagor
{
    class Program
    {
        static void Main(string[] args)
        {
            int x;
            int y;
            for (x = 1; x < 10; x++)
            {
                for (y = 1; y < 10; y++)
                {
                    int z = y * x;

                    if (z < 10)
                    {
                        Console.Write(" " + z + " ");
                    }
                    else
                    {
                        Console.Write(z + " ");
                    }                    
                }
                Console.WriteLine();

            }
            Console.ReadLine();
        }
    }
}
